import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
import index from '@/views/index'
Vue.use(index)
export default new Router({
  routes: [
    {
      path: '/index',
      name: 'index',
      component: index
    },{
      path:'*',
      redirect:'/index'
    }
  ]
})
